package org.dormi.learn;

import org.dormi.learn.algorithm.GraphAlgorithm;
import org.dormi.learn.definition.Graph;
import org.dormi.learn.utils.GraphGenerator;

/**
 * @author : dormi330
 * @since : 2021/1/27/0027
 */
public class Main01 {

    public static void main(String[] args) {
        // test3_2();
        test4_2();
    }

    private static void test3_2() {
        Graph g1 = GraphGenerator.v3_2();
        GraphAlgorithm.dfs(g1);
        g1.removeBackEdgeAfterDFS();
        System.out.println("wait");
    }

    private static void test4_2() {
        Graph g1 = GraphGenerator.v4_2();
        GraphAlgorithm.dfs(g1);
        g1.removeBackEdgeAfterDFS();
        System.out.println("wait");
    }
}
